<?php
	header ( "Content-type: text/html; charset=utf-8" );
?>
<link rel="stylesheet" type="text/css" href="style/tip.css" />
<table class="qi_table" width="0" border="0" cellpadding="0"
	cellspacing="1">
	<tr>
		<th>反馈人姓名</th>
		<th>反馈内容</th>
		<th>反馈时间</th>
		<th width="6%">类型</th>
		<th>科室</th>
		<th>处理状态</th>
		<th>处理时间</th>
		<th width="6%">处理人</th>
		<th width="11%">操作</th>
	</tr>
              <?php 
              	if(is_array($feedinfo) && count($feedinfo)>0){
              		foreach ($feedinfo as $v){
              ?>
              <tr>
		<td><?php echo str_replace($name,'<font color=red><b>'.$name.'</b></font>&nbsp;',$v['NAME'])?></td>
		<td style="text-align: left;"><?php
																echo substr($v['CONTENT'],0,33)?></td>
		<td><?php
																echo date('Y-m-d',strtotime($v ['FEED_TIME']))?></td>
		<td><?php
																echo $types [$v ['TYPE']]?></td>
		<td><?php
																echo $alldep [$v ['DEP_NO']]?></td>
		<td><b class="greenword"><?php
																echo $states [$v ['STATE']]?></b></td>
		<td><?php
																echo $v ['UPD_TIME']?date('Y-m-d',strtotime($v ['UPD_TIME'])):''?></td>
		<td><?php
																echo ATools::retUserTrueName($v ['UPD_USER'])?></td>
		<td>
			<a onclick="javascript: JYCsm.openWindow('?c=feed&a=lookfeedback&id=<?php echo $v['F_ID']?>&outid=1');return false;" href="?c=feed&a=lookfeedback&id=<?php echo $v['F_ID']?>">详情</a> 
		</td>
	</tr>
              <?php 
              		}
              	}else{
              ?>
               <tr height="40">
		<td style="text-align: center; color: green;" colspan='10'>该用户暂时还没有反馈信息</td>
	</tr>
               <?php }?>
              <tr>
		<td colspan='10'><div class="pager-his">
					<?php 
						$url = '/index.php?c='.$_REQUEST['c'].'&a='.$_REQUEST['a'].'&p=_num_&pid='.$uid;
						echo JYTools::pager($url,$tolNum,$page,$pagesize);
					?></div>
			  </td>
	</tr>
</table>